package com.ruoyi.project.city.cityMasterList.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 主城表 city_master_list
 *
 * @author ruoyi
 * @date 2018-08-28
 */
public class CityMasterList extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 城市编号
     */
    private Integer adCode;
    /**
     * 全国区县名称
     */
    private String name;
    /**
     * 父类的区划编号
     */
    private Integer parentId;
    /**
     * 0为国家1为省份2为市级3为区县级
     */
    private Integer levelType;
    /**
     * 区号（由国家编写）
     */
    private String areaCode;
    /**
     * 省市区聚合  省市区
     */
    private String mergerName;
    /**
     * 所属用户
     */
    private String userId;
    /**
     * 初始价格
     */
    private BigDecimal initPrice;
    /**
     * 初次交易价格
     */
    private BigDecimal firstPrice;
    /**
     * 最后交易价格
     */
    private BigDecimal lastPrice;
    /**
     * 第一次交易价格
     */
    private Date firstTransactionTime;
    /**
     * 最后交易时间
     */
    private Date lastTransactionTime;
    /**
     * 城市总收益
     */
    private BigDecimal allIncome;
    /**
     * 最新购买价格
     */
    private BigDecimal newBuyPrice;
    /**  */
    private String pname;
    /**
     * 状态：
     * NORMAL:正常，
     * NORANDCANTBUY:正常但不可购买
     * REPURCHASE:回购中,
     * FRLOCKING:审核完成后锁定状态等待用户处理
     */
    private String status;
    /**
     * 省所处阶段
     * 初始阶段：1
     * 第二阶段：2
     * 第三阶段：3
     */
    private Integer stage;


    private String nickName;

    private String cityStatus;

    private String cityOpen;

    private String cityNotOpen;
    
    public String getCityOpen() {
        return cityOpen;
    }

    public void setCityOpen(String cityOpen) {
        this.cityOpen = cityOpen;
    }

    public String getCityNotOpen() {
        return cityNotOpen;
    }

    public void setCityNotOpen(String cityNotOpen) {
        this.cityNotOpen = cityNotOpen;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getCityStatus() {
        return cityStatus;
    }

    public void setCityStatus(String cityStatus) {
        this.cityStatus = cityStatus;
    }


    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public void setAdCode(Integer adCode) {
        this.adCode = adCode;
    }

    public Integer getAdCode() {
        return adCode;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setLevelType(Integer levelType) {
        this.levelType = levelType;
    }

    public Integer getLevelType() {
        return levelType;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setMergerName(String mergerName) {
        this.mergerName = mergerName;
    }

    public String getMergerName() {
        return mergerName;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserId() {
        return userId;
    }

    public void setInitPrice(BigDecimal initPrice) {
        this.initPrice = initPrice;
    }

    public BigDecimal getInitPrice() {
        return initPrice;
    }

    public void setFirstPrice(BigDecimal firstPrice) {
        this.firstPrice = firstPrice;
    }

    public BigDecimal getFirstPrice() {
        return firstPrice;
    }

    public void setLastPrice(BigDecimal lastPrice) {
        this.lastPrice = lastPrice;
    }

    public BigDecimal getLastPrice() {
        return lastPrice;
    }

    public void setFirstTransactionTime(Date firstTransactionTime) {
        this.firstTransactionTime = firstTransactionTime;
    }

    public Date getFirstTransactionTime() {
        return firstTransactionTime;
    }

    public void setLastTransactionTime(Date lastTransactionTime) {
        this.lastTransactionTime = lastTransactionTime;
    }

    public Date getLastTransactionTime() {
        return lastTransactionTime;
    }

    public void setAllIncome(BigDecimal allIncome) {
        this.allIncome = allIncome;
    }

    public BigDecimal getAllIncome() {
        return allIncome;
    }

    public void setNewBuyPrice(BigDecimal newBuyPrice) {
        this.newBuyPrice = newBuyPrice;
    }

    public BigDecimal getNewBuyPrice() {
        return newBuyPrice;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getPname() {
        return pname;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setStage(Integer stage) {
        this.stage = stage;
    }

    public Integer getStage() {
        return stage;
    }

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("adCode", getAdCode())
                .append("name", getName())
                .append("parentId", getParentId())
                .append("levelType", getLevelType())
                .append("areaCode", getAreaCode())
                .append("mergerName", getMergerName())
                .append("userId", getUserId())
                .append("initPrice", getInitPrice())
                .append("firstPrice", getFirstPrice())
                .append("lastPrice", getLastPrice())
                .append("firstTransactionTime", getFirstTransactionTime())
                .append("lastTransactionTime", getLastTransactionTime())
                .append("allIncome", getAllIncome())
                .append("newBuyPrice", getNewBuyPrice())
                .append("pname", getPname())
                .append("status", getStatus())
                .append("stage", getStage())
                .toString();
    }
}
